package com.qqtech.qquan.circle.service;

import com.qqtech.core.frame.service.BaseService;
import com.qqtech.qquan.circle.model.*;

public interface CircleSignService extends BaseService<CircleSign> {
	
	/**
	 * 今天是否已签到
	 * @param memberId
	 * @param circleId
	 * @return
	 */
	boolean isSignToday(Integer memberId, Integer circleId);
	
	/**
	 * 总签到次数
	 * @param memberId
	 * @param circleId
	 * @return
	 */
	int queryTotalSignCount(Integer memberId, Integer circleId);
	
	/**
	 * 签到
	 * @param memberId
	 * @param circleId
	 * @return
	 */
	int handleSign(Integer memberId, Integer circleId);
}